<template>
	<qh-tabbar-page-view type="2" current="3" title="我的订单">
		<order-list ref="orderRef" type="2"></order-list>
	</qh-tabbar-page-view>
</template>

<script>
	export default {
		/**
		 * 生命周期函数--监听页面加载
		 */
		onLoad(options) {
			this.$nextTick(() => {
				this.$refs.orderRef.onLoads(options);
			})
		},
		/**
		 * 生命周期函数--监听页面显示
		 */
		async onShow() {
			this.$nextTick(() => {
				this.$refs.orderRef.onShows();
			})
		},
		onShareAppMessage(res) {
			return {
				title: '我的订单',
				path: '/pages/myOrder/myOrder?store_id=' + this.$store.store_id + '&share_uid=' + getApp().globalData.XcxData.userInfo.uid,
			};
		},
	};
</script>
